home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / grphwiz.dxr / 00148_increment radio button.ls < prev    next >
Encoding:
Text File  |  2000-01-14  |  788 b   |  32 lines

  1. property ancestor, pIntervalSelection, pMIAW
  2. global gGraph
  3.  
  4. on new me, buttonName, castName, theChannel, theStageLoc, intervalSelection, descendant
  5.   if objectp(descendant) then
  6.     ancestor = new(script("one selected radio button"), buttonName, castName, theChannel, theStageLoc, descendant)
  7.   else
  8.     ancestor = new(script("one selected radio button"), buttonName, castName, theChannel, theStageLoc, me)
  9.   end if
  10.   pIntervalSelection = intervalSelection
  11.   return me
  12. end
  13.  
  14. on setMIAW me, miaw
  15.   pMIAW = miaw
  16.   return me
  17. end
  18.  
  19. on getSetting me
  20.   return pIntervalSelection
  21. end
  22.  
  23. on performFunction me
  24.   tell the stage
  25.     playSFX(9)
  26.   end tell
  27.   setaProp(gGraph, #pIsConsistant, 0)
  28.   setaProp(gGraph, #pIsDirty, 1)
  29.   setaProp(gGraph, #pIntervalSelection, pIntervalSelection)
  30.   return me
  31. end
  32.